<template>
  <div class="index">
    <router-view></router-view>
    <div class="tabbar">
      <router-link to="/index/home">首页</router-link>
      <router-link to="/index/bao">爆爆团</router-link>
      <router-link to="/index/order">订单</router-link>
      <router-link to="/index/mine">我的</router-link>
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="scss">
* {
  padding: 0;
  margin: 0;
}

.router-link-active {
  color: red;
}

.tabbar {
  display: flex;
  justify-content: space-around;
  align-content: center;
  padding: 10px 0;
  position: fixed;
  bottom: 10px;
  width: 100%;
  box-sizing: border-box;
  border-top: 1px solid #ccc;
  background-color: #ccc;
}
</style>